.msg {
  display: flex;
  padding: 15px;
}

.msg-from .content {
  max-width: 240px;
  min-width: 52px;
}

.msg-from .content .time {
  color: var(--cp-tip);
  margin-bottom: 5px;
}

.msg-from .content .pao {
  padding: 15px;
  background-color: #fff;
  color: var(--cp-text3);
  font-size: 15px;
  border-radius: 8px;
  position: relative;
}

.msg-from .content .pao::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 10px;
  width: 13px;
  height: 16px;
  background: #fff;
  border-top-left-radius: 13px 3px;
}

.msg-from .content .pao::after {
  content: '';
  position: absolute;
  left: -13px;
  top: 13px;
  width: 13px;
  height: 13px;
  background: var(--cp-bg);
  border-top-right-radius: 13px 13px;
}

.msg-from .content .van-image {
  max-height: 160px;
  max-width: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cp-line);
}

.msg-from > .van-image {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 13px;
}

.msg-to {
  justify-content: flex-end;
}

.msg-to .content {
  max-width: 240px;
  min-width: 52px;
}

.msg-to .content .time {
  color: var(--cp-tip);
  margin-bottom: 5px;
  text-align: right;
}

.msg-to .content .pao {
  padding: 15px;
  background-color: var(--cp-primary);
  color: #fff;
  font-size: 15px;
  border-radius: 8px;
  position: relative;
}

.msg-to .content .pao::before {
  content: '';
  position: absolute;
  right: -13px;
  top: 10px;
  width: 13px;
  height: 16px;
  background: var(--cp-primary);
  border-top-right-radius: 13px 3px;
}

.msg-to .content .pao::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 13px;
  width: 13px;
  height: 13px;
  background: var(--cp-bg);
  border-top-left-radius: 13px 13px;
}

.msg-to .content .van-image {
  max-height: 160px;
  max-width: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cp-line);
}

.msg-to > .van-image {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 13px;
}

.msg-tip {
  justify-content: center;
  font-size: 12px;
}

.msg-tip .content {
  height: 34px;
  line-height: 34px;
  background-color: #fff;
  color: var(--cp-tip);
  font-size: 12px;
  border-radius: 17px;
  padding: 0 16px;
  max-width: 100%;
}

.msg-tip .content .green {
  color: var(--cp-primary);
}

.msg-tip-cancel .content {
  background-color: #ededed;
}

.msg-illness {
  display: block;
  background-color: #fff;
  margin: 15px;
  border-radius: 8px;
  font-size: 12px;
}

.msg-illness .patient {
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.msg-illness .patient > p:first-child {
  font-size: 16px;
}

.msg-illness .patient > p:last-child {
  margin-top: 5px;
  color: var(--cp-tip);
}

.msg-illness .van-col:nth-child(-n + 2) {
  margin-bottom: 5px;
}

.msg-illness .van-col:nth-child(2n) {
  color: var(--cp-tip);
}

.msg-recipe {
  padding: 15px;
}

.msg-recipe .content {
  background-color: #fff;
  border-radius: 8px;
  color: var(--cp-tip);
  font-size: 12px;
  flex: 1;
}

.msg-recipe .content .head {
  padding: 15px;
}

.msg-recipe .content .head .head-tit {
  display: flex;
  justify-content: space-between;
}

.msg-recipe .content .head .head-tit > h3 {
  font-weight: normal;
  font-size: 16px;
  color: var(--cp-text1);
}

.msg-recipe .content .head p {
  margin-top: 5px;
}

.msg-recipe .content .body {
  padding: 15px 15px 0 15px;
}

.msg-recipe .content .body-item {
  display: flex;
  margin-bottom: 15px;
}

.msg-recipe .content .body-item .durg {
  flex: 1;
}

.msg-recipe .content .body-item .durg > p:first-child {
  font-size: 14px;
  color: var(--cp-text1);
  margin-bottom: 5px;
}

.msg-recipe .content .body-item .num {
  color: var(--cp-text1);
}

.msg-recipe .content .foot {
  background-color: var(--cp-plain);
  color: var(--cp-primary);
  font-size: 16px;
  text-align: center;
  height: 42px;
  line-height: 42px;
}
